﻿using System;
using System.Data.Common;
using System.IO;

namespace YJKDataBase
{
	public interface IObjectFileTable
	{
		bool Add(DbObject dbObject, FileInfo fi, DbTransaction tr);

		bool Remove(DbObject dbObject, DbTransaction tr);

		FileInfo this[DbObject dbObject, string exeName]
		{
			get;
		}

		bool Replace(DbObject dbObject, FileInfo fi);
	}
}
